package com.yilife.hmstr.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * 检测报告
 * @author dede
 *
 */

@SuppressWarnings("serial")
@TableName(value="test_report")
public class TestReport extends Model<TestReport>{
	
	/**
	 * 主键
	 */
	@TableId(value="tr_id")
	private long trId;
	
	@TableField(value="hmstr_id")
	private long hmstrId;
		
	public TestReport() {
		super();
	}

	public TestReport(long trId, long hmstrId) {
		super();
		this.trId = trId;
		this.hmstrId = hmstrId;
	}

	public long getTrId() {
		return trId;
	}

	public void setTrId(long trId) {
		this.trId = trId;
	}

	public long getHmstrId() {
		return hmstrId;
	}

	public void setHmstrId(long hmstrId) {
		this.hmstrId = hmstrId;
	}

	@Override
	public String toString() {
		return "TestReport [trId=" + trId + ", hmstrId=" + hmstrId + "]";
	}

	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return trId;
	}
	
}
